<template>
  <div class="w">
    <div class="header">
      <span class="title">订单</span>
    </div>

    <div class="img">
      <div><img src="../../img/success.png" alt="" /></div>
      <div><span>下单成功</span></div>
      <div><span>后厨正在加紧制作中，请耐心等待...</span></div>
      <div><el-button @click="goOrders">查看订单</el-button></div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },

  created() {},

  mounted() {},

  methods: {
    goOrders() {
      this.$router.push('/orders');
    },
  },
};
</script>

<style lang="scss" scoped>
.w {
  height: 100vh;
  width: 100%;
  .header {
    background-color: #f6cd54;
    height: 60px;
    color: #232425;
    text-align: center;
    border-bottom: 2px solid #dddddd;
    .title {
      font-size: 20px;
      line-height: 60px;
      font-weight: bold;
    }
  }
  .img {
    text-align: center;
    margin-top: 150px;
    div:nth-child(1) {
      margin-bottom: 40px;
      img {
        height: 100px;
        width: 110px;
      }
    }
    div:nth-child(2) {
      font-size: 30px;
      margin-bottom: 15px;
    }
    div:nth-child(3) {
      font-size: 15px;
      margin-bottom: 15px;
    }
    div:nth-child(4) {
      :deep(.el-button) {
        background-color: #f6cd54;
        border-radius: 50px;
        color: #000000;
      }
    }
  }
}
</style>